<div class="mainBG topbg">
		<div class="top bg1">
        	<div class="container_24">
                <div class="grid_24">
                    <div class="top_menu">
                        <ul>
                        	<li class="item"><a href="{hanshu:Getlink@default,}" title="首页">首页</a></li>
                        	<li class="item"><a class="glist" href="javascript:;" title="单位列表">单位列表</a></li>                            
							<script type="text/javascript">
                                $(function(){
                                    $(".glist").powerFloat({
										target: ".sublist",
										showCall: function() {
											$(this).addClass("hover");    
										},
										hideCall: function() {
											$(this).removeClass("hover");
										}
									});
                                });
                            </script>
                        </ul>
                    </div>
					<div class="Userbar">	
						<script type="text/javascript" src="/include/HeadState.ashx"></script>
					</div>
                </div>                
                <dl class="sublist">
                    {liebiao2:B_askClass^0^a_classid asc^a_parentid = 0}
                    <dt>{<a_className>}</dt>
                    {liebiao:B_askClass^0^a_classid asc^a_parentid = {<a_classid>}}
                    <dd><a href="?class-{a_classid}" title="{a_className}">{a_className}</a></dd>
                    {/liebiao}
                    {/liebiao2}
                    <div class="cls"></div>
                </dl>
            </div>
        </div>
        <div class="header"><a href="/" title="天门网 - 市委书记专属版">市委书记专属版</a></div>
		<div class="container_24">
			<div class="grid_24 nav">
				<div class="searchbox bl1">
					<script type="text/javascript">
						$(function(){
							$('#scbar_btn').click(function(event){
								if ($('#scbar_txt').val() == '' || $('#scbar_txt').val() == null) {
									$.msg({
										content: '请输入要搜索关键字'
									});
								}
								else {
									if (surnam_keyup($("#scbar_txt").val())) {
										location = "{hanshu:Getlink@search,}" + $("#keyType").val() + "-" + word;
									}
								}
							});
							
							function surnam_keyup(str) {
								var oldstr = str;
								var codes = '``!@#$%^&*()-_=+\\|[{]};:\'",<.>/? ';
								var codearray = codes.split('');
								//循环替换非法字符
								for (i = 0; i < codearray.length; i++) {
									while (str.indexOf(codearray[i]) != -1) {
										str = str.replace(codearray[i], "");
									}
								}
								if (str == "") {
									$.msg({
										content: '抱歉，您输入的内容“' + oldstr + '”不在查询范围内。'
									});
									return false;
								}
								word = str;
								return true;
							};
						});
					</script>
					<input id="scbar_txt" class="br1" name="srchtxt" type="text" placeholder="请输入要搜索的关键字" value="" />
					<button id="scbar_btn" name="searchsubmit" value="true" type="submit">搜索</button>
					<input type="hidden" name="sm.keyType" value="1" id="keyType" />
				</div>
			</div>
		</div>
	</div>